//
//  TBCAppTools.h
//  待定
//
//  Created by BoyaLee on 15/11/5.
//  Copyright © 2015年 BoyaLee. All rights reserved.
//

#import <Foundation/Foundation.h>

enum Reachability {
    
    InternetReachableWithNone,
    InternetReachableWithWWAN,
    InternetReachableWithWiFi
    
};

typedef void(^TBCToolsBlock)(id responseObject);

@interface TBCAppTools : NSObject

+ (instancetype)shareBLDAppTools;

+ (void)changeScreenHorizontal;

+ (void)changeScreenVertical;

+ (void)getLocalDataWithURL:(NSString *)url TBCToolsBlock:(TBCToolsBlock)TBCToolsBlock;

+ (void)postLocalDataWithURL:(NSString *)url Parameters:(NSDictionary *)para Cookie:(NSString *)cookie TBCToolsBlock:(TBCToolsBlock)TBCToolsBlock;

+ (NSInteger)getInternetReachability:(NSString *)url;

+ (void)getDatawithPost:(NSString *)url paramenters:(NSDictionary *)para cookie:(NSString *)cookie Block:(TBCToolsBlock)TBCToolsBlock;

@end
